package com.xoa.service.nccloud.impl;

import com.xoa.dao.ncclound.NCCViewMapper;
import com.xoa.model.nccloud.*;
import com.xoa.service.nccloud.INCCViewService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * NCC 查询视图接口实现类
 *
 * @author wmf
 * @date 2021年5月19日上午10:53:11
 */
@Service
public class NCCViewServiceImpl implements INCCViewService {

    @Resource
    NCCViewMapper nccViewMapper;

    @Override
    public void saveDefdoc(BaseBdDefdoc defdoc) {
        nccViewMapper.saveDefdoc(defdoc);
    }

    @Override
    public List<BaseBdDefdoc> selectDefdoc(BaseBdDefdoc defdoc) {
        return nccViewMapper.selectDefdoc(defdoc);
    }

    @Override
    public void saveOmJob(NccOmJobV obj) {
        nccViewMapper.saveOmJob(obj);
    }

    @Override
    public List<NccOmJobV> selectOmJob(NccOmJobV obj) {
        return nccViewMapper.selectOmJob(obj);
    }

    @Override
    public void saveOmJobType(NccOmJobtypeV obj) {
        nccViewMapper.saveOmJobType(obj);
    }

    @Override
    public List<NccOmJobtypeV> selectOmJoType(NccOmJobtypeV obj) {
        return nccViewMapper.selectOmJoType(obj);
    }

    @Override
    public void saveTrnstype(NccTrnstypeV obj) {
        nccViewMapper.saveTrnstype(obj);
    }

    @Override
    public List<NccTrnstypeV> selectTrnstype(NccTrnstypeV obj) {
        return nccViewMapper.selectTrnstype(obj);
    }

    @Override
    public void saveWaGrad(NccWaGradeV obj) {
        nccViewMapper.saveWaGrad(obj);
    }

    @Override
    public List<NccWaGradeV> selectWaGrad(NccWaGradeV obj) {
        return nccViewMapper.selectWaGrad(obj);
    }

    @Override
    public void saveWaItem(NccWaItemV obj) {
        nccViewMapper.saveWaItem(obj);
    }

    @Override
    public List<NccWaItemV> selectWaItem(NccWaItemV obj) {
        return nccViewMapper.selectWaItem(obj);
    }

    @Override
    public void saveWaprmlv(NccWaPrmlvV obj) {
        nccViewMapper.saveWaprmlv(obj);
    }

    @Override
    public List<NccWaPrmlvV> selecWaprmlv(NccWaPrmlvV obj) {
        return nccViewMapper.selecWaprmlv(obj);
    }

    @Override
    public void truncateTable(String tableName) {
        nccViewMapper.truncateTable(tableName);
    }

    @Override
    public void updatePrmlvTable(){
        nccViewMapper.updatePrmlvTable();
    }
}
